import { IsInt, IsNotEmpty, IsOptional, IsString } from 'class-validator';

export class QueryDictItemDto {
  @IsNotEmpty()
  @IsString()
  dictCode: string;

  @IsOptional()
  @IsString()
  label: string;

  @IsOptional()
  @IsString()
  value: string;
}
